﻿#region [Axis Using Statements]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using WP7_XNA_Accelerometer_Simulator.GameObjects.SuperClasses;
using WP7_XNA_Accelerometer_Simulator.Utils.GameInfo;
using WP7_XNA_Accelerometer_Simulator.Utils.Rotation;
#endregion

namespace WP7_XNA_Accelerometer_Simulator.GameObjects.GameModels
{
    /// <summary>
    /// This class represents the World Axis
    /// </summary>
    public class Axis : GameObject3D
    {
        #region [Axis Constructor]
        /// <summary>
        /// Axis Contructor
        /// </summary>
        public Axis()
        {
            Scale = new Vector3(.3f,.3f,.3f);
            Position = new Vector3(-6,0,3);
        }
        #endregion

        #region [Axis LoadContent Method]
        public override void LoadContent(ContentManager content)
        {
            GameModel = content.Load<Model>(GameConstants.Axis3DUri);
            base.LoadContent(content);
        }
        #endregion

        #region [Axis Public Methods]
        /// <summary>
        /// See <see cref="GameObject3D.ProcessRotation"/> for more info.
        /// </summary>
        public override void ProcessRotation(RotationUtil.RotationType rotType, float rotDegrees)
        {
            /*do nothing*/
            ;
        }
        #endregion
    }
}
